export function patrolProjectTable() {
  const columns: TableColumnList = [
    {
      label: "巡更项目",
      align: "left",
      prop: "abilityCode"
    },
    {
      label: "巡更内容",
      align: "left",
      prop: "abilityName"
    },
    {
      label: "选择项",
      align: "left",
      prop: "dataType",
      formatter: ({ dataType }) => (dataType === "1" ? "正常" : "异常")
    },
    {
      label: "操作",
      align: "left",
      fixed: "right",
      width: 150,
      slot: "operation"
    }
  ];
  return {
    columns
  };
}
